[null, undefined, 1, true].forEach (function (element : any) : void {
    const type : string = element === null ? 'null' : typeof element;
    console.log (type);
})
